<?php

declare(strict_types=1);

/**
 * @Author:     Frank
 * @contact     frank_hhm@163.com
 * @Date:       2023-02-17 16:48:53
 * @Last Modified time: 2023-02-17 16:49:26
 */

namespace app\sys\controller\store;

use app\sys\controller\Base;
use think\facade\{
    App
};
use app\common\services\store\GoodsCommentService;
/**
 * 商城-商品评价
 * Class GoodsComment 
 * @package app\sys\controller\store
 */
class GoodsComment extends Base
{
    /**
     * GoodsComment constructor.
     * @param App $app
     */
    public function __construct(App $app,GoodsCommentService $service)
    {
        parent::__construct($app);
        $this->service = $service;
    }

    /**
     * 商品标签列表
     * @method(GET)
     */
    public function list()
    {
        $param = $this->request->getMore([
        ]);
        $this->success($this->service->getGoodsCommentList($param));
    }


}